package com.itheima.goods.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * (TbOrder)表实体类
 * @author makejava
 * @since 2021-03-08 10:19:18
 */
@Data
@TableName("tb_order")
public class Order {
    //订单id
    private Long id;
    //数量合计
    private Integer totalNum;
    //金额合计
    private Integer totalMoney;
    //优惠金额
    private Integer preMoney;
    //邮费
    private Integer postFee;
    //实付金额
    private Integer payMoney;
    //支付类型，1、在线支付，2、货到付款
    private String payType;
    //订单创建时间
    private Date createTime;
    //订单更新时间
    private Date updateTime;
    //付款时间
    private Date payTime;
    //发货时间
    private Date consignTime;
    //交易完成时间
    private Date endTime;
    //交易关闭时间
    private Date closeTime;
    //物流名称
    private String shippingName;
    //物流单号
    private String shippingCode;
    //用户名称
    @TableField("username")
    private String userName;
    //买家留言
    private String buyerMessage;
    //是否评价
    private String buyerRate;
    //收货人地区名称(省，市，县)街道
    private String receiverAddress;
    //收货人手机
    private String receiverMobile;
    //收货人
    private String receiverContact;
    //订单来源:  1:web，2：app，3：微信公众号，4：微信小程序  5 H5手机页面
    private String sourceType;
    //交易流水号
    private String transactionId;
    //订单状态
    private String orderStatus;
    //支付状态
    private String payStatus;
    //发货状态
    private String consignStatus;
    //是否删除
    private String isDelete;
    //订单商品ID
    private Long goodId;
}